package cn.vihub.service;

import cn.vihub.param.ShopRoleParam;
import cn.vihub.pojo.ShopRole;
import cn.vihub.pojo.ShopUser;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Author: 秋晚
 * @Date:  2025/7/18 16:14
 * @Description: 
 **/

public interface ShopRoleService extends IService<ShopRole>{

    IPage<ShopRole> selectPage(ShopRoleParam shopRoleParam);

        List<ShopRole> getRoleByUserId(Integer userId);

    Boolean bindMenu(ShopRoleParam shopRoleParam);

    ShopUser getUserByUsername(String username);
}
